routes.$inject = ["$stateProvider"];
export default function routes($stateProvider) {
    $stateProvider
        .state("dashboard.agentdash", {
            url: "/agentdash",
            template: require("./agent-dashboard.html"),
            controller: "AgentDashboardController",
            controllerAs: "agentdashboard"
        })
        .state("dashboard.agentdash.createsubordinate", {
            url: "/createsubordinate",
            template: require("./agent-createsubordinate.html"),
            controller: "AgentCreateSubordinateController",
            controllerAs: "createsubordinate"
        })
        //推广
        .state("dashboard.agentdash.popularize", {
            url: "/popularize",
            template: require("./agent-popularize.html"),
            controller: "AgentCreateSubordinateController",
            controllerAs: "createsubordinate"
        })
        //团队统计
        .state("dashboard.agentdash.teamstatic", {
            url: "/teamstatic",
            template: require("./agent-teamstatic.html"),
            controller: "AgentTeamStaticController",
            controllerAs: "teamstatic"
        })
        //团队会员
        .state("dashboard.agentdash.expandusers", {
            url: "/expandusers",
            template: require("./agent-expandusers.html"),
            controller: "AgentExpandUsersController",
            controllerAs: "expandusers"
        })
        //团队充值列表
        .state("dashboard.agentdash.teamchargelist", {
            url: "/teamchargelist",
            template: require("./agent-team_charge_list.html"),
            controller: "AgentTeamChargeListController",
            controllerAs: "teamchargelist"
        })
        //团队充值列表
        .state("dashboard.agentdash.configlist", {
            url: "/configlist",
            template: require("./agent-config-list.html"),
            controller: "AgentConfigListController",
            controllerAs: "configlist"
        })
        .state("dashboard.agentdash.withdrawlist", {
            url: "/withdrawlist",
            template: require("./agent-team-withdraw-list.html"),
            controller: "AgentTeamWithdrawListController",
            controllerAs: "withdrawlist"
        })
        .state("dashboard.agentdash.teamtotalstatic", {
            url: "/teamtotalstatic",
            template: require("./agent-team-total-static.html"),
            controller: "AgentTeamTotalStaticController",
            controllerAs: "teamtotalstatic"
        })
        .state("dashboard.agentdash.curruserstatic", {
            url: "/curruserstatic",
            template: require("./agent-curr-user-static.html"),
            controller: "AgentCurrUserStaticController",
            controllerAs: "curruserstatic"
        })
        .state("dashboard.agentdash.lowerlevelagentstatic", {
            url: "/lowerlevelagentstatic",
            template: require("./agent-lower-level-agent-static.html"),
            controller: "AgentLowerLevelAgentStaticController",
            controllerAs: "lowerlevelagentstatic"
        })
        //分润明细
        .state("dashboard.agentdash.profitdetail", {
            url: "/profitdetail",
            template: require("./profit_detail -list.html"),
            controller: "ProfitDetailListController",
            controllerAs: "profitDetailCtrl"
        })
    ;
}